﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Gfw.Web.Models.User
{
    /// <summary>
    /// 用户密保问题
    /// </summary>
    public class UserSecurityQuestionModel
    {
        [Key]
        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "用户登录名：")]
        public string LoginName { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "问题1：")]
        public string Question1 { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "答案1：")]
        public string Answer1 { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "问题2：")]
        public string Question2 { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "答案2：")]
        public string Answer2 { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "问题3：")]
        public string Question3 { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "答案3：")]
        public string Answer3 { get; set; }
    }
}
